package com.cloud.pet.ops.req;

import java.io.Serializable;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;
import lombok.Data;

/**
 * @author: tc
 * @description:
 * @create: 2019/10/28
 */
@Data
public class BaseDomain implements Serializable {

    private static final long serialVersionUID = 1L;
//    /**
//     *  创建时间
//     */
//    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
//    private LocalDateTime     created;
//    /**
//     *  修改时间
//     */
//    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
//    private LocalDateTime     updated;

    public BaseDomain(){
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this, SerializerFeature.DisableCircularReferenceDetect);
    }

}
